package com.daidai.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.daidai.domain.Order;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface OrderMapper extends BaseMapper<Order> {
    public int createOrder(Order order);
    public List<Order> getAllOrder();
    public List<Order> getAllOrderByCid(Long cid);
}
